using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace Stormwind.Core.Data {
	/// <summary>
	/// Interface that defines the behavior of a data broker.
	/// </summary>
	public interface IDataBroker {
		/// <summary>
		/// Gets data based in a definition.
		/// </summary>
		/// <param name="def">Definition.</param>
		/// <returns>Returns the DataTable.</returns>
		DataTable GetData(DataDefinition def);
	}
}
